home *** CD-ROM | disk | FTP | other *** search
/ FishMarket 1.0 / FishMarket v1.0.iso / fishies / 626-637 / disk_634 / newprint / doc next >
Text File  |  1992-05-06  |  5KB  |  125 lines

  1.  
  2.  
  3.                                                1991-Jan-20
  4.  
  5.                        NewPrint V2.1
  6.  
  7. NewPrint by Kjell Cederfeldt (Fourth Dimension) (c) Copyright 1990.
  8. All rights reserved.
  9.  
  10. NewPrint V2.1 is ShareWare. It may be freely distributed for non commercial
  11. purposes. If You find this program useful, send $10 to:
  12.  
  13. Kjell Cederfeldt             phone 031-30 63 34
  14. Hammarkulletorget 39                   30 63 10
  15. S-424 37 GÖTEBORG
  16. SWEDEN
  17.  
  18. UseNet: ...{uunet|pyramid|rutgers}!cbmvax!cbmehq!cbmswe!datac!kjell
  19.  
  20.  
  21.  
  22.  
  23.  
  24. NewPrint is a program that sends textfiles to the printer. NewPrint has the
  25. ability to format the text to suit Your needs and Your printer. It's a piece
  26. of cace to adjust the printout to whatever You want. It is most suitable
  27. for plain ASCII files. NewPrint prints non-ASCII characters and it does not
  28. remove printer control commands except for formfeed. You can override the
  29. formfeed-filter with the -e option described later in this text.
  30.  
  31. NewPrint keeps track of how You want Your margins, how tall Your paper is
  32. and how many characters that will fit Your paper. No text will be lost
  33. during formatting, no text will be printed on the perforation or on the
  34. platen. You can set these parameters to anything. Parameters that You dont
  35. set will be read in from Your current preferences settings.
  36.  
  37. If text contains formfeed (Ctrl-L, Dec 12, hex $0C) NewPrint will ignore
  38. them as long as You don't set the e parameter from CLI or FORMFEED=yes
  39. in the WorkBench.
  40.  
  41. Command syntax for NewPrint:
  42.  
  43. NewPrint f<file> d[device] l[lenght] w[width] mt[margin top]
  44.          mb[margin bottom] ml[margin left]
  45.  
  46. -h -? help           Prints a help-text as above
  47. -f    filename       Name of file to print
  48. -d    device         Name of device to print to ie PRT: PAR: SER: CON:
  49. -l    length         Total length of paper in lines
  50. -w    width          Total width of paper in characters
  51.  
  52. -ml  margin left     Number of blank spaces at beginning of each line
  53. -mt  margin top      Number of blank lines at top of each page
  54. -mb  margin bottom   Number of blank lines at end of each page
  55.  
  56. -pt  pageinfo top    Tells NewPrint which line in topmargin to print
  57.                      pagenumber and filename on. 1 = first line in
  58.                      topmargin
  59.  
  60. -pb pageinfo bottom  Tells NewPrint which line in bottomargin to
  61.                      print pagenumber and filename on. 1 = first
  62.                      line in bottom margin
  63. -ns no status info   No status information is shown.
  64. -e  execute ff       Use this option if You want formfeeds to be
  65.                      sent to the printer              
  66.    
  67. -ts tab set          Number of spaces to be inserted for each tab.
  68.  
  69. (the -  can be left out and options can be written in any order)
  70.  
  71. Example: Print the file "test" on a 70 row paper with a width of 80
  72. characters. We want 5 blank lines at the beginning and end of each page.
  73.  
  74. NewPrint ftest dprt: l70 w80 mt5 mb5
  75.  
  76. The printing progress can be cancelled with Ctrl-C or the Break command.
  77. Options not written on the command line will be taken from preferences.
  78. Options mt and mb does not exist in preferences and are set to 3 as default.
  79. Not executing formfeed is also default. All options are printed in status
  80. information, so You can always see what NewPrint is doing.
  81.  
  82. Note the difference in option ml and the left margin preference setting.
  83. The preference setting refers to the first column to print the first
  84. character on each line, but the NewPrint ml option refers to how many
  85. spaces should be printed on each line. If You don't use the ml otion,
  86. NewPrint will adjust itself so that left margin set to 1 in preferences
  87. will be the same as ml 0.
  88.  
  89. You can  run NewPrint from WorkBench. The options can be set as Tooltypes.
  90. The Tooltypes are:
  91.  
  92. LENGTH=xx       xx = Total paper length in lines.
  93. WIDTH=xx        xx = Total width in characters. (use to set right
  94.                     margin)
  95. TOP=xx          xx = Number of blank lines at beginning of page
  96. BOTTOM=xx       xx = Number of blank lines at end of page
  97. LEFT=xx         xx = Number of spaces at beginning of line (use to
  98.                     set left margin)
  99. DEVICE=xx       xx = Device to send text to (ie PRT: SER: PAR:)
  100. TOPINFO=xx      xx = Position for filename and pagenumber
  101. BOTTOMINFO=xx   xx = Position for filename and pagenumber
  102. STATUS=no       No status information on screen
  103. FORMFEED=yes    Formfeeds are sent to printer
  104. SETTAB=x        Inserts x spaces for each tab
  105.  
  106. Tooltypes not found are read from preferences. You can print a file by
  107. clicking once with left mouse button on the NewPrint icon, press and hold
  108. shift while double clicking on a textfile icon. NewPrint can also be set
  109. as default tool for a project icon. Status information will be shown
  110. in a window on the screen unless STATUS=no is set as Tooltype.
  111.  
  112.  
  113. Thanks to the following for hints, testing and suggestions:
  114.  
  115. Nicklas Pernblad
  116. Patrik Holmsten         Datacentralen/The Fourth Dimension
  117. Lorenz Einarsson        The Fourth Dimension
  118. Mats Nyman              Delikatess Data
  119. Jerry Sandstedt         Delikatess Data
  120.  
  121.  
  122. / Kjell Cederfeldt 1990-10-06
  123.  
  124.     
  125.